﻿<UserControl x:Class="MapEditor.DlgNewMap"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="280" Height="210">

    <Canvas>
        <Border CornerRadius="20" Background="Black" Width="280" Height="210"></Border>
        <TextBlock Foreground="White" Canvas.Left="10" Canvas.Top="35">Map Name:</TextBlock>
        <TextBlock Foreground="White" Canvas.Left="10" Canvas.Top="65">Width in Tiles:</TextBlock>
        <TextBlock Foreground="White" Canvas.Left="10" Canvas.Top="95">Height in Tiles:</TextBlock>
        <TextBlock Foreground="White" Canvas.Left="10" Canvas.Top="125">Tile Radius:</TextBlock>        
        <TextBox x:Name="xMapName" Canvas.Left="120" Height="20" Canvas.Top="30" Width="150"></TextBox>
        <TextBox x:Name="xMapWidth" Canvas.Left="120" Height="20" Canvas.Top="60" Width="50"></TextBox>
        <TextBox x:Name="xMapHeight" Canvas.Left="120" Height="20" Canvas.Top="90" Width="50"></TextBox>
        <TextBox x:Name="xTileRadius" Canvas.Left="120" Height="20" Canvas.Top="120" Width="50"></TextBox>
        
        <Border Background="White" Canvas.Top="168" Opacity="60" Width="280" Height="25"></Border>
        <Button Content="OK" Click="Button_Click_OK" Width="80" Canvas.Left="50" Canvas.Top="170"></Button>
        <Button Content="Cancel" Click="Button_Click_Cancel" Width="80"  Canvas.Left="150" Canvas.Top="170"></Button>
    </Canvas>

</UserControl>
